logIRR

fun logIRR(includeCashFlows: Boolean, includeResults: Boolean, dateFormatter: CustomDateFormat = CustomDateFormat("yyyy-MM-dd"), delimiter: String? = null)

Log IRR calculation object, its cashflows, and calculation result(s). This function makes no assumptions as to the validity of cashflows or results. The caller should ideally have called computeIRR prior to calling this method to obtain result(s).

Since

MD2027

Parameters

includeCashFlows

specify whether to include a list of cash flows

includeResults

specify whether to include IRR calculation results

dateFormatter

specify a CustomDateFormat - default "yyyy-MM-dd"

delimiter

default null for normal logging, or specify a column delimiter (e.g. comma) to format output for data analysis (e.g. CSV output)